import type { MenuListResult } from '@/api/model/permissionModel';
import { request } from '@/utils/request';

const Api = {
  // MenuList: '/get-menu-list',
  MenuList: '/api/admin/sysuserdetail/queryCurrentAuthorityV3', // 获取菜单列表
};

export function getMenuList() {
  return request.post<MenuListResult>({
    url: Api.MenuList,
  });
}
